package edu.nuc.event.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Match {

    private int id;
    private int userid;//学生ID
    //    private int cpid;//赛事ID
    private String word;//学生参赛作品
    private String prize;//作品获得的奖项

    //新增加属性
    private String username;
    private String cpname;
    private int account;//奖项数量

    @Override
    public String toString() {
        return "Match{" +
                "id=" + id +
                ", userid=" + userid +
                ", word='" + word + '\'' +
                ", prize='" + prize + '\'' +
                '}';
    }
}
